Moving stats bin retrieval into generic stats validation function