analyze only records for last 30 minutes in status check

History check in frontend was made with the intention to check only records in last 15 minutes, however it check last 15 records in history. So if there were no tasks in my query since yesterday then this check will report about problem in last 15 records even one day after it.