Fixed incorrect handling of unspecified interval