Patches for Implement range checking in utils.pm [sf#1086149] [#353]