Ashok | Correcting the condition for checking if number of records have exceeded the allowed count.