Anomaly fixes changes suggested by Marek

@breznak - Why are you removing this? What happens for integer values less than or equal to 0?