BUG: Check for 0 variance not unit. Closes #1025.