Detect a particular frequency?

using MAX4466 and using the following code to detect the the max frequency. But I'm getting the maximum magnitude in the bin for the frequency when the source is perpendicular to the mic not in front of it

So I assume that it is detecting the frequency correctly?

A microphone has a specific polar response so why would you expect any Microphone orientation to give no signal?