Fixed validation of allowed bbcodes