Fixed bug that meant alert would appear at wrong time