This is a longstanding bug because the original programmers couldn't count. If you cast a spell for 15 hours, it lasts 16 hours. If you cast a spell for 0 hours, it lasts 1 hour. This should be fixed. Get rid of the 0 hour (which lasts for a full hour) or rename it as the 1 hour.