Fixed a shameful error. Remember to test always!