Small bug fix with lower() function call.