mysql was not returning the bin number - just true or false