Fixed bug in application revisions counter