Fixed availability calculation
Merge pull request #361 from dswd/fix-availability

Fixed availability calculation