Fixes bug with checking Bukkit version