You always take earthquake loads into consideration and analyze your frame. Did you make a structural analysis and conclude that there are no loads on the beams due to earthquake loads? It is highly unlikely because the structure is a whole. When there is earthquake load, the whole frame is affected which means beams will be affected too, although the are in horizontal direction. For example, how do you think the columns will sway to the side, without any support from beams? When columns sway, it means beams are supporting them which means there is extra load due to earthquake.