Good catch on the double strtolower() call.