Update albumview.py

add 2 cases due to gallery2.3 changes